home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global stage
- if stage = 5 then
- if the visible of sprite 3 = 1 then
- if soundBusy(2) = 0 then
- sound playFile 2, "..\som\ping.wav"
- end if
- set the visible of sprite 2 to 1
- set the visible of sprite 3 to 0
- else
- set the visible of sprite 2 to 0
- set the visible of sprite 3 to 1
- end if
- end if
- if stage = 6 then
- if the visible of sprite 4 = 1 then
- set the visible of sprite 4 to 0
- else
- set the visible of sprite 4 to 1
- end if
- if (the top of sprite 15 > 203) and (the left of sprite 15 > 332) and ((the top of sprite 15 < 215) and (the left of sprite 15 < 454)) then
- set the visible of sprite 4 to 0
- set the visible of sprite 15 to 0
- set the puppet of sprite 15 to 0
- set the visible of sprite 5 to 1
- set the visible of sprite 6 to 1
- set stage to 7
- end if
- end if
- if the stage = 7 then
- if the visible of sprite 6 = 1 then
- set the visible of sprite 6 to 0
- else
- set the visible of sprite 6 to 1
- end if
- end if
- updateStage()
- go(the frame)
- end
-